﻿using System;
using System.Collections.Generic;

using System.Web;

namespace CMN.Entity
{
    /// <summary>
    /// 服务器配置环境
    /// </summary>
    public class SystemInfo
    {
        /// <summary>
        /// 服务器计算机名
        /// </summary>
        public string ServerName { get; set; }

        /// <summary>
        /// 服务器IP地址
        /// </summary>
        public string Ip { get; set; }
        /// <summary>
        /// 服务器域名
        /// </summary>
        public string Domain { get; set; }

        /// <summary>
        /// 服务器端口
        /// </summary>
        public string Port { get; set; }


        /// <summary>
        /// 服务器IIS版本
        /// </summary>
        public string IISVer { get; set; }
        /// <summary>
        /// 本文件所在文件夹
        /// </summary>
        public string PhPath { get; set; }
        /// <summary>
        /// 服务器操作系统
        /// </summary>
        public string Operat { get; set; }

        /// <summary>
        /// 系统所在文件夹
        /// </summary>
        public string SystemPath { get; set; }
        /// <summary>
        /// 服务器脚本超时时间
        /// </summary>
        public string TimeOut { get; set; }

        /// <summary>
        /// 服务器的语言种类
        /// </summary>
        public string Lan { get; set; }
        /// <summary>
        /// .NET Framework 版本
        /// </summary>
        public string AspnetVer { get; set; }
        /// <summary>
        /// 服务器当前时间
        /// </summary>
        public string CurrentTime { get; set; }
        /// <summary>
        /// 服务器IE版本
        /// </summary>
        public string IEVer { get; set; }
        /// <summary>
        /// 服务器上次启动到现在已运行
        /// </summary>
        public string ServerLastStartToNow { get; set; }
        /// <summary>
        /// 逻辑驱动器
        /// </summary>
        public string LogicDriver { get; set; }
        /// <summary>
        /// CPU 总数
        /// </summary>
        public string CpuNum { get; set; }
        /// <summary>
        /// CPU 类型
        /// </summary>
        public string CpuType { get; set; }

        /// <summary>
        /// 应用运行时间
        /// </summary>
        public string AppRunTime { get; set; }


        /// <summary>
        /// 可用缓存大小
        /// </summary>
        public string CacheMax { get; set; }
        /// <summary>
        /// 虚拟内存使用
        /// </summary>
        public string AppRunVirtualMemony { get; set; }

        /// <summary>
        /// 当前进程使用内存
        /// </summary>
        public string Memory { get; set; }
        /// <summary>
        /// 当前程序占用内存
        /// </summary>
        public string MemoryPro { get; set; }
        /// <summary>
        /// 物理内存使用
        /// </summary>
        public string AppRunMemony { get; set; }
        /// <summary>
        /// 当前Session数量
        /// </summary>
        public string SessionNum { get; set; }
        /// <summary>
        /// 当前SessionID
        /// </summary>
        public string Session { get; set; }
        /// <summary>
        /// 当前系统用户名
        /// </summary>
        public string User { get; set; }
    }
}
